package com.neutech.neusys.controller;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.neutech.neusys.service.impl.ConstantItemServiceImpl;


@RestController
@RequestMapping("/constantItem")
public class ConstantItemController {
	@Autowired
	private ConstantItemServiceImpl constantItemService;
	@RequestMapping("/getConstantItemByTypeid")
	public List<Map<String,Object>> getConstantItemByTypeid(String typeid){
		List<Map<String,Object>> list = constantItemService.selectconstantItem(typeid);
		return list;
		
	}
}
